import { useState } from 'react'
import routes from "@/router/index"
import './App.css'
import { useRoutes } from 'react-router-dom'
import { ConfigProvider } from 'antd'

function App() {
  const element = useRoutes(routes)
  
  return (
    <>
      <div style={{width:'100%'}}>
      <ConfigProvider
       theme={{
        token: {
        
         
        },
        components:{
          Table:{
            headerBg:"#fff", //表头背景色
            headerSplitColor:"#fff" //表头分割线颜色
          },
          Button:{

          }
        }
      }}
    >
      {element}
    </ConfigProvider>
      </div>
    </>
  )
}

export default App
